//
//  NewsMenuCollectionView.swift
//  lookLikeIweekly
//
//  Created by ZhangXiaoqian on 16/6/10.
//  Copyright © 2016年 Mainzxq. All rights reserved.
//

import UIKit

class NewsMenuCollectionView:UICollectionView{
    
    
    
    override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) {
        super.init(frame: frame, collectionViewLayout: layout)
        print("collectionView 初始化")
        self.backgroundColor = UIColor.whiteColor()
    }
    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }
    
    override func layoutSubviews() {
        // self.frame = CGRectMake(0, 0, UIScreen.mainScreen().bounds.width-50, 25)
        self.showsHorizontalScrollIndicator = false
        self.showsVerticalScrollIndicator = false
        
    }
    
    
    
}
